<div class="intxt-key"  data-spec2="<?php echo $goods_info['spec_id']?>"><?php echo $goods_info['name']?>：</div>
<div class="intxt-value">
<?php foreach ($goods_info['childs'] as $k=>$v):?>
<span data-sku="<?php echo $v['spec_value_id']?>" class="<?php if($products['sku2'] == $v['spec_value_id']):?>cur<?php endif;?><?php if(isset($v['idgray']) && $v['idgray'] == 0):?> grey <?php endif;?>"><?php echo $v['name'];?></span>
<?php endforeach;?>
</div>